
<ul id="sort-menu">
	<li><h2>Search</h2></li>
	<li class="underline"></li>
	<li>
		<ul>
			<li><g:link
					class="${ sortMenuItemSelected == '0'?'selected':'' }"
					controller="todo" action="index"
					params="[orderTask:'asc', sortMenuItemSelected:0]">Todo first</g:link>
			</li>
			<li><g:link
					class="${ sortMenuItemSelected == '1'?'selected':'' }"
					controller="todo" action="index"
					params="[orderTask:'desc', sortMenuItemSelected:1]">Finish first</g:link>
			</li>
		</ul></li>
		<li class="underline"></li>
	<li>
		<ul>
			<li><g:link
					class="${ filterMenuItemSelected == '0'?'selected':'' }"
					controller="todo" action="index"
					params="[filterTask:'all', filterMenuItemSelected:0]">Any time</g:link>
			</li>
			<li><g:link
					class="${ filterMenuItemSelected == '1'?'selected':'' }"
					controller="todo" action="index"
					params="[filterTask:'today', filterMenuItemSelected:1]">Past 24 hours</g:link>
			</li>
			<li><g:link
					class="${ filterMenuItemSelected == '2'?'selected':'' }"
					controller="todo" action="index"
					params="[filterTask:'week', filterMenuItemSelected:2]">Past week</g:link>
			</li>
			<li><g:link
					class="${ filterMenuItemSelected == '3'?'selected':'' }"
					controller="todo" action="index"
					params="[filterTask:'month', filterMenuItemSelected:3]">Past month</g:link>
			</li>
		</ul></li>
</ul>